#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger, TitleImagePosition) {
    TitleImagePositionLeft,
    TitleImagePositionRight,
    TitleImagePositionTop,
    TitleImagePositionCenter
};
typedef NS_OPTIONS(NSInteger, SegmentViewComponent) {
    SegmentViewComponentShowCover = 1 << 0,
    SegmentViewComponentShowLine = 1 << 1,
    SegmentViewComponentShowImage = 1 << 2,
    SegmentViewComponentShowExtraButton = 1 << 3,
    SegmentViewComponentScaleTitle = 1 << 4,
    SegmentViewComponentScrollTitle = 1 << 5,
    SegmentViewComponentBounces = 1 << 6,
    SegmentViewComponentGraduallyChangeTitleColor = 1 << 7,
    SegmentViewComponentAdjustCoverOrLineWidth = 1 << 8,
    SegmentViewComponentAutoAdjustTitlesWidth = 1 << 9,
};
@interface ZJSegmentStyle : NSObject
@property (assign, nonatomic, getter=isShowCover) BOOL showCover;
@property (assign, nonatomic, getter=isShowLine) BOOL showLine;
@property (assign, nonatomic, getter=isShowImage) BOOL showImage;
@property (assign, nonatomic, getter=isShowExtraButton) BOOL showExtraButton;
@property (assign, nonatomic, getter=isScaleTitle) BOOL scaleTitle;
@property (assign, nonatomic, getter=isScrollTitle) BOOL scrollTitle;
@property (assign, nonatomic, getter=isSegmentViewBounces) BOOL segmentViewBounces;
@property (assign, nonatomic, getter=isContentViewBounces) BOOL contentViewBounces;
@property (assign, nonatomic, getter=isGradualChangeTitleColor) BOOL gradualChangeTitleColor;
@property (assign, nonatomic, getter=isScrollContentView) BOOL scrollContentView;
@property (assign, nonatomic, getter=isAnimatedContentViewWhenTitleClicked) BOOL animatedContentViewWhenTitleClicked;
@property (assign, nonatomic, getter=isAdjustCoverOrLineWidth) BOOL adjustCoverOrLineWidth;
@property (assign, nonatomic, getter=isAutoAdjustTitlesWidth) BOOL autoAdjustTitlesWidth;
@property (assign, nonatomic, getter=isAdjustTitleWhenBeginDrag) BOOL adjustTitleWhenBeginDrag;
@property (strong, nonatomic) NSString *extraBtnBackgroundImageName;
@property (assign, nonatomic) CGFloat scrollLineHeight;
@property (strong, nonatomic) UIColor *scrollLineColor;
@property (strong, nonatomic) UIColor *coverBackgroundColor;
@property (assign, nonatomic) CGFloat coverCornerRadius;
@property (assign, nonatomic) CGFloat coverHeight;
@property (assign, nonatomic) CGFloat titleMargin;
@property (strong, nonatomic) UIFont *titleFont;
@property (assign, nonatomic) CGFloat titleBigScale;
@property (strong, nonatomic) UIColor *normalTitleColor;
@property (strong, nonatomic) UIColor *selectedTitleColor;
@property (assign, nonatomic) CGFloat segmentHeight;
@property (assign, nonatomic) TitleImagePosition imagePosition;
@property (nonatomic ,assign) BOOL custom;
@end
